//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Scott Stapp','Beau Rivage Theatre','Biloxi, MS','Saturday','5/11/2024','8:00 PM','6331111','Scott-Stapp-5-11-2024'],['Josey Scott's Saliva','Sherman Theater','Stroudsburg, PA','Friday','5/17/2024','8:00 PM','6369992','Josey-Scott-s-Saliva-5-17-2024'],['PPC Showcase','The Topfer Theatre at Zachary Scott Theatre Center','Austin, TX','Wednesday','5/22/2024','7:30 PM','6393976','PPC-Showcase-5-22-2024'],['PPC Showcase','The Topfer Theatre at Zachary Scott Theatre Center','Austin, TX','Saturday','5/25/2024','2:30 PM','6393977','PPC-Showcase-5-25-2024'],['PPC Showcase','The Topfer Theatre at Zachary Scott Theatre Center','Austin, TX','Saturday','5/25/2024','7:30 PM','6393978','PPC-Showcase-5-25-2024'],['PPC Showcase','The Topfer Theatre at Zachary Scott Theatre Center','Austin, TX','Sunday','5/26/2024','2:30 PM','6393979','PPC-Showcase-5-26-2024'],['PPC Showcase','The Topfer Theatre at Zachary Scott Theatre Center','Austin, TX','Sunday','5/26/2024','7:30 PM','6393980','PPC-Showcase-5-26-2024'],['Scott Wattles & The Blue Suede Crew','Effingham Performance Center','Effingham, IL','Saturday','6/1/2024','7:00 PM','5836496','Scott-Wattles---The-Blue-Suede-Crew-6-1-2024'],['Scott Keo','Great Cedar Showroom at Foxwoods','Mashantucket, CT','Friday','6/14/2024','8:00 PM','6338014','Scott-Keo-6-14-2024'],['Cole Swindell, Dylan Scott & Lily Rose','Ameris Bank Amphitheatre','Alpharetta, GA','Thursday','6/27/2024','7:00 PM','6128942','Cole-Swindell--Dylan-Scott---Lily-Rose-6-27-2024'],['Cole Swindell, Dylan Scott & Restless Road','Arizona Financial Theatre','Phoenix, AZ','Thursday','7/11/2024','7:00 PM','6128945','Cole-Swindell--Dylan-Scott---Restless-Road-7-11-2024'],['Scott Bradlee's Postmodern Jukebox','The Cabot - Cabot Performing Arts Center','Beverly, MA','Saturday','7/13/2024','8:00 PM','6332246','Scott-Bradlee-s-Postmodern-Jukebox-7-13-2024'],['Scott Bradlee's Postmodern Jukebox','Hart Theatre At The Egg','Albany, NY','Sunday','7/14/2024','8:00 PM','6319193','Scott-Bradlee-s-Postmodern-Jukebox-7-14-2024'],['Scott Bradlee's Postmodern Jukebox','State Theatre - Easton','Easton, PA','Sunday','7/21/2024','7:00 PM','6319217','Scott-Bradlee-s-Postmodern-Jukebox-7-21-2024'],['Scott Bradlee's Postmodern Jukebox','The Fillmore - Detroit','Detroit, MI','Wednesday','7/24/2024','7:00 PM','6319200','Scott-Bradlee-s-Postmodern-Jukebox-7-24-2024'],['Scott Bradlee's Postmodern Jukebox','Paramount Theatre - Cedar Rapids','Cedar Rapids, IA','Saturday','7/27/2024','8:00 PM','6319219','Scott-Bradlee-s-Postmodern-Jukebox-7-27-2024'],['Scott Bradlee's Postmodern Jukebox','Pabst Theater','Milwaukee, WI','Sunday','7/28/2024','8:00 PM','6319220','Scott-Bradlee-s-Postmodern-Jukebox-7-28-2024'],['Scott Bradlee's Postmodern Jukebox','Paramount Theatre - Austin, TX','Austin, TX','Saturday','8/3/2024','8:00 PM','6319223','Scott-Bradlee-s-Postmodern-Jukebox-8-3-2024'],['Scott Bradlee's Postmodern Jukebox','Tower Theatre - OK','Oklahoma City, OK','Sunday','8/4/2024','8:00 PM','6319224','Scott-Bradlee-s-Postmodern-Jukebox-8-4-2024'],['Scott Bradlee's Postmodern Jukebox','Mesa Arts Center - Ikeda Theater','Mesa, AZ','Thursday','8/8/2024','7:30 PM','6319227','Scott-Bradlee-s-Postmodern-Jukebox-8-8-2024'],['Scott Bradlee's Postmodern Jukebox','City National Grove of Anaheim','Anaheim, CA','Wednesday','8/14/2024','8:00 PM','6319210','Scott-Bradlee-s-Postmodern-Jukebox-8-14-2024'],['Scott Bradlee's Postmodern Jukebox','Van Duzer Theatre','Arcata, CA','Friday','8/16/2024','8:00 PM','6319232','Scott-Bradlee-s-Postmodern-Jukebox-8-16-2024'],['Fresh Coast Jazz Festival: Kim Scott & Kirk Whalum','Pabst Theater','Milwaukee, WI','Friday','8/23/2024','6:00 PM','5908706','Fresh-Coast-Jazz-Festival--Kim-Scott---Kirk-Whalum-8-23-2024'],['Dylan Scott and Conner Smith','Showplace Theatre At Riverwind Casino','Norman, OK','Friday','8/30/2024','6:00 PM','6278523','Dylan-Scott-and-Conner-Smith-8-30-2024'],['Why We Love Serial Killers With Dr. Scott Bonn','Coronado Performing Arts Center','Rockford, IL','Friday','9/13/2024','7:30 PM','6376786','Why-We-Love-Serial-Killers-With-Dr--Scott-Bonn-9-13-2024'],['Why We Love Serial Killers With Dr. Scott Bonn','Elsinore Theatre','Salem, OR','Saturday','9/28/2024','7:30 PM','6362360','Why-We-Love-Serial-Killers-With-Dr--Scott-Bonn-9-28-2024'],['Why We Love Serial Killers With Dr. Scott Bonn','Genesee Theatre','Waukegan, IL','Saturday','10/12/2024','7:00 PM','6409638','Why-We-Love-Serial-Killers-With-Dr--Scott-Bonn-10-12-2024']],'Scott Theatre','http://www.ticketnetwork.com/ticket/Scott-Theatre-events.aspx');